<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>聆语 - 登录</title>
    <!-- Bootstrap CSS -->
    <link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.3.0/css/bootstrap.min.css" rel="stylesheet">
	<link href="css/toastr.css"/>
    <!-- 自定义样式 -->
    <style>
        body {
            background-color: #f8f9fa;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        .navbar-brand {
            font-size: 1.5rem;
            font-weight: 500;
        }
        .login-container {
            max-width: 400px;
            margin: auto;
            padding: 2rem;
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
        }
        .btn-primary {
            background-color: #0d6efd;
            border-color: #0d6efd;
        }
        .btn-primary:hover {
            background-color: #0b5ed7;
            border-color: #0a58ca;
        }
        .form-control:focus {
            border-color: #0d6efd;
            box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
        }
        .system-title {
            text-align: center;
            margin-bottom: 2rem;
            color: #0d6efd;
            font-size: 2rem;
            font-weight: 500;
        }
        @media (max-width: 767.98px) {
            .system-title {
                display: none;
            }
        }
        @media (min-width: 768px) {
            .navbar {
                display: none;
            }
        }
    </style>
</head>
<body>
    <!-- 顶部导航栏（仅移动端显示） -->
    <nav class="navbar navbar-expand-lg navbar-dark bg-primary">
        <div class="container">
            <a class="navbar-brand" href="#">聆语</a>
        </div>
    </nav>

    <!-- 主要内容区域 -->
    <div class="container flex-grow-1 d-flex align-items-center py-5">
        <div class="login-container w-100">
            <!-- PC端系统标题 -->
            <h1 class="system-title">聆语</h1>
            
            <h2 class="text-center mb-4">用户登录</h2>
            <form id="loginForm">
                <div class="mb-3">
                    <label for="username" class="form-label">账号</label>
                    <input type="text" class="form-control" id="username" placeholder="请输入账号" required>
                </div>
                <div class="mb-3">
                    <label for="password" class="form-label">密码</label>
                    <input type="password" class="form-control" id="password" placeholder="请输入密码" required>
                </div>
                <div class="mb-3 form-check">
                    <input type="checkbox" class="form-check-input" id="rememberMe">
                    <label class="form-check-label" for="rememberMe">记住我</label>
                </div>
                <div class="d-grid gap-2">
                    <button type="submit" class="btn btn-primary">登录</button>
                </div>
            </form>
            <div class="text-center mt-3">
                <a href="register.html" class="text-decoration-none">没有账号？立即注册</a>
            </div>
        </div>
    </div>

    <!-- Bootstrap JS 和依赖 -->
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.3.0/js/bootstrap.bundle.min.js"></script>
	<!-- 引入 Toastr 的 CSS -->
	<link href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.css" rel="stylesheet"/>
	<!-- 引入 Toastr 的 JS -->
	<script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.js"></script>
    <script src="common/common.js"></script>
    <script src="js/login.js"></script>
</body>
</html> 